package com.ztgf.search.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.search.models.bo.SearchIndexSaveBO;
import com.ztgf.search.models.dto.SearchIndexDTO;

/**
 * 搜索引擎索引表服务
 *
 * @author chenyu.wang
 * @Date 2021-01-28 18:13:28
 */
public interface ISearchIndexService extends IService<SearchIndexDTO> {
    /**
     * @return : boolean
     * @Author :chenyu.wang
     * @Description : 添加索引
     * @Date : 2021.01.29 14:40
     * @Param : [saveBO]
     **/
    boolean add(SearchIndexSaveBO saveBO);

    /**
     * @return : boolean
     * @Author :chenyu.wang
     * @Description : 删除索引
     * @Date : 2021.01.29 14:41
     * @Param : [id]
     **/
    boolean delete(Long id);
}
